<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
	<link rel="stylesheet" type="text/css"
	 href="${pageContext.request.contextPath}/js/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/themes/icon.css">
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.js"></script>
	<script type="text/javascript"
	 src="${pageContext.request.contextPath}/js/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript"
	 src="${pageContext.request.contextPath}/js/easyui/locale/easyui-lang-zh_CN.js"></script>
</head>
<body>
	<select id="cc" class="easyui-combobox" name="dept"
			style="width:200px">
		<option value="aa">赵超</option>
		<option>杨华东</option>
		<option>王健</option>
		<option>祈诗军</option>
		<option>靳宝</option>
	</select>
	
	<input data-options="valueField:'id',textField:'name',url:'${pageContext.request.contextPath }/json/data.json'"
			class="easyui-combobox" type="text" name="dept">
			
	<input type="text" id="test">
	<script type="text/javascript">
		$(function(){
			$("#test").combobox({
				valueField:'id',
				textField:'name',
				url:'${pageContext.request.contextPath }/json/data.json'	
			});
		});
	</script>
</body>
</html>